<div class="page-body">
    <div class="row">
        <div class="col-xs-12 col-md-12">
            <div class="widget">
                <div class="widget-header ">
                    <span class="widget-caption">列表</span>
                    <div class="widget-buttons">
                        <a href="#" data-toggle="maximize">
                            <i class="fa fa-expand"></i>
                        </a>
                        <a href="#" data-toggle="collapse">
                            <i class="fa fa-minus"></i>
                        </a>
                        <a href="#" data-toggle="dispose">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="widget-body">
                    <table class="table table-striped table-hover">
                        <thead>
                        <tr>
                            <th>
                                兑换编号
                            </th>
                            <th>
                                用户id
                            </th>
                            <th>
                                微信昵称
                            </th>
                            <th>
                                兑换商品
                            </th>
                            <th>
                                消耗积分
                            </th>
                            <th>对应订单编号</th>
                            <th>状态</th>
                        </tr>
                        </thead>

                        <tbody>
                        <foreach name="list" item="v">
                            <tr>
                                <td>
                                    {$v.order_has_product_id}
                                </td>
                                <td>
                                    {$v.user_id}
                                </td>
                                <td>
                                    {$v.nickname}
                                    <!--<img src="{$v.logo}" width="100"><br>-->
                                </td>
                                <td>
                                    {$v.name}
                                </td>
                                <td>
                                    {$v.price}
                                </td>
                                <td>
                                    {$v.order_id}
                                </td>
                                <td>
                                    <empty name="v.order_id">
                                        未发货
                                        <else/>
                                        已分配
                                    </empty>
                                </td>
                            </tr>
                        </foreach>
                        </tbody>
                    </table>
                    {$page}
                </div>
            </div>
        </div>
    </div>
</div>